Thue–Morse Sequence
   HOME

TheInfoList



OR:

In
mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, the Thue–Morse sequence, or Prouhet–Thue–Morse sequence, is the
binary sequence A bitstream (or bit stream), also known as binary sequence, is a sequence of bits. A bytestream is a sequence of bytes. Typically, each byte is an 8-bit quantity, and so the term octet stream is sometimes used interchangeably. An octet may ...
(an infinite sequence of 0s and 1s) obtained by starting with 0 and successively appending the Boolean complement of the sequence obtained thus far. The first few steps of this procedure yield the strings 0 then 01, 0110, 01101001, 0110100110010110, and so on, which are prefixes of the Thue–Morse sequence. The full sequence begins: :01101001100101101001011001101001.... The sequence is named after
Axel Thue Axel Thue (; 19 February 1863 – 7 March 1922) was a Norwegian mathematician, known for his original work in diophantine approximation and combinatorics. Work Thue published his first important paper in 1909. He stated in 1914 the so-calle ...
and
Marston Morse Harold Calvin Marston Morse (March 24, 1892 – June 22, 1977) was an American mathematician best known for his work on the ''calculus of variations in the large'', a subject where he introduced the technique of differential topology now known a ...
.


Definition

There are several equivalent ways of defining the Thue–Morse sequence.


Direct definition

To compute the ''n''th element ''tn'', write the number ''n'' in
binary Binary may refer to: Science and technology Mathematics * Binary number, a representation of numbers using only two digits (0 and 1) * Binary function, a function that takes two arguments * Binary operation, a mathematical operation that ta ...
. If the number of ones in this binary expansion is odd then ''tn'' = 1, if even then ''tn'' = 0. For this reason
John H. Conway John Horton Conway (26 December 1937 – 11 April 2020) was an English people, English mathematician active in the theory of finite groups, knot theory, number theory, combinatorial game theory and coding theory. He also made contributions to ...
''et al''. called numbers ''n'' satisfying ''tn'' = 1 ''odious'' (for ''odd'') numbers and numbers for which ''tn'' = 0 ''evil'' (for ''even'') numbers. In other words, tn = 0 if ''n'' is an
evil number In number theory, an evil number is a non-negative integer that has an even Hamming weight, number of 1s in its Binary number, binary expansion. These numbers give the positions of the zero values in the Thue–Morse sequence, and for this reason ...
and tn = 1 if ''n'' is an
odious number In number theory, an odious number is a positive integer that has an odd number of 1s in its binary expansion. In computer science, an odious number is said to have odd parity. Examples The first odious numbers are: Properties If a(n) denotes ...
.


Fast sequence generation

This method leads to a fast method for computing the Thue–Morse sequence: start with , and then, for each ''n'', find the highest-order bit in the binary representation of ''n'' that is different from the same bit in the representation of . If this bit is at an even index, ''tn'' differs from , and otherwise it is the same as . In pseudo-code form: def generateSequence(seqLength): value = 0 for n = 0 to seqLength-1 by 1: # Note: assumes an even number of bits in the word size, and two's complement arithmetic so that when n

0, x is odd (e.g. 31 or 63) x = indexOfHighestOneBit(n ^ (n - 1)) if ((x & 1)

0): # bit index is even, so toggle value value = 1 - value yield value
The resulting algorithm takes constant time to generate each sequence element, using only a logarithmic number of bits (constant number of words) of memory.


Recurrence relation

The Thue–Morse sequence is the sequence ''tn'' satisfying the
recurrence relation In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
:\begin t_0 &= 0,\\ t_ &= t_n,\\ t_ &= 1 - t_n, \end for all non-negative integers ''n''.


L-system

The Thue–Morse sequence is a
morphic word In mathematics and computer science, a morphic word or substitutive word is an infinite sequence of symbols which is constructed from a particular class of endomorphism of a free monoid. Every automatic sequence is morphic. Definition Let ''f'' ...
: it is the output of the following
Lindenmayer system An L-system or Lindenmayer system is a parallel rewriting system and a type of formal grammar. An L-system consists of an alphabet of symbols that can be used to make strings, a collection of production rules that expand each symbol into so ...
:


Characterization using bitwise negation

The Thue–Morse sequence in the form given above, as a sequence of
bit The bit is the most basic unit of information in computing and digital communications. The name is a portmanteau of binary digit. The bit represents a logical state with one of two possible values. These values are most commonly represente ...
s, can be defined
recursively Recursion (adjective: ''recursive'') occurs when a thing is defined in terms of itself or of its type. Recursion is used in a variety of disciplines ranging from linguistics to logic. The most common application of recursion is in mathematics ...
using the operation of bitwise negation. So, the first element is 0. Then once the first 2''n'' elements have been specified, forming a string ''s'', then the next 2''n'' elements must form the bitwise negation of ''s''. Now we have defined the first 2''n''+1 elements, and we recurse. Spelling out the first few steps in detail: * We start with 0. * The bitwise negation of 0 is 1. * Combining these, the first 2 elements are 01. * The bitwise negation of 01 is 10. * Combining these, the first 4 elements are 0110. * The bitwise negation of 0110 is 1001. * Combining these, the first 8 elements are 01101001. * And so on. So * ''T''0 = 0. * ''T''1 = 01. * ''T''2 = 0110. * ''T''3 = 01101001. * ''T''4 = 0110100110010110. * ''T''5 = 01101001100101101001011001101001. * ''T''6 = 0110100110010110100101100110100110010110011010010110100110010110. * And so on.


Infinite product

The sequence can also be defined by: : \prod_^ \left(1 - x^\right) = \sum_^ (-1)^ x^j, where ''t''''j'' is the ''j''th element if we start at ''j'' = 0.


Properties

The Thue–Morse sequence contains many ''squares'': instances of the string XX, where X denotes the string A, \overline, A \overlineA, or \overlineA \overline, where A=T_ for some k\ge 0 and \overline is the bitwise negation of A. For instance, if k=0, then A=T_=0 . The square A \overlineAA \overlineA = 010010 appears in T starting at the 16th bit. Since all squares in T are obtained by repeating one of these 4 strings, they all have length 2^n or 3\cdot2^n for some n\ge 0. T contains no ''cubes'': instances of XXX. There are also no ''overlapping squares'': instances of 0X0X0 or 1X1X1. The critical exponent of T is 2. The Thue–Morse sequence is a uniformly recurrent word: given any finite string ''X'' in the sequence, there is some length ''nX'' (often much longer than the length of ''X'') such that ''X'' appears in ''every'' block of length ''nX''. Notably, the Thue-Morse sequence is uniformly recurrent ''without'' being either periodic or eventually periodic (i.e., periodic after some initial nonperiodic segment). The sequence ''T''2''n'' is a
palindrome A palindrome is a word, number, phrase, or other sequence of symbols that reads the same backwards as forwards, such as the words ''madam'' or ''racecar'', the date and time ''11/11/11 11:11,'' and the sentence: "A man, a plan, a canal – Panam ...
for any ''n''. Furthermore, let ''q''''n'' be a word obtained by counting the ones between consecutive zeros in ''T''2''n'' . For instance, ''q''1 = 2 and ''q''2 = 2102012. Since ''Tn'' does not contain ''overlapping squares'', the words ''qn'' are palindromic
squarefree word In combinatorics, a squarefree word is a word (a sequence of symbols) that does not contain any squares. A square is a word of the form , where is not empty. Thus, a squarefree word can also be defined as a word that avoids the pattern . Finite ...
s. The Thue–Morse morphism ''μ'' is defined on alphabet by the substitution map ''μ''(0) = 01, ''μ''(1) = 10: every 0 in a sequence is replaced with 01 and every 1 with 10. If ''T'' is the Thue–Morse sequence, then ''μ''(''T'') is also ''T''. Thus, ''T'' is a fixed point of ''μ''. The morphism ''μ'' is a
prolongable morphism In mathematics and computer science, a morphic word or substitutive word is an infinite sequence of symbols which is constructed from a particular class of endomorphism of a free monoid. Every automatic sequence is morphic. Definition Let ''f'' ...
on the
free monoid In abstract algebra, the free monoid on a set is the monoid whose elements are all the finite sequences (or strings) of zero or more elements from that set, with string concatenation as the monoid operation and with the unique sequence of zero eleme ...
with ''T'' as fixed point: ''T'' is essentially the ''only'' fixed point of ''μ''; the only other fixed point is the bitwise negation of ''T'', which is simply the Thue–Morse sequence on (1,0) instead of on (0,1). This property may be generalized to the concept of an
automatic sequence In mathematics and theoretical computer science, an automatic sequence (also called a ''k''-automatic sequence or a ''k''-recognizable sequence when one wants to indicate that the base of the numerals used is ''k'') is an infinite sequence of terms ...
. The ''generating series'' of ''T'' over the
binary field (also denoted \mathbb F_2, or \mathbb Z/2\mathbb Z) is the finite field of two elements (GF is the initialism of ''Galois field'', another name for finite fields). Notations and \mathbb Z_2 may be encountered although they can be confused with ...
is the formal power series :t(Z) = \sum_^\infty T(n) Z^n \ . This power series is algebraic over the field of rational functions, satisfying the equation :Z + (1+Z)^2 t + (1+Z)^3 t^2 = 0


In combinatorial game theory

The set of ''evil numbers'' (numbers n with t_n=0) forms a subspace of the nonnegative integers under
nim-addition In mathematics, the nimbers, also called ''Grundy numbers'', are introduced in combinatorial game theory, where they are defined as the values of heaps in the game Nim. The nimbers are the ordinal numbers endowed with ''nimber addition'' and ...
( bitwise
exclusive or Exclusive or or exclusive disjunction is a logical operation that is true if and only if its arguments differ (one is true, the other is false). It is symbolized by the prefix operator J and by the infix operators XOR ( or ), EOR, EXOR, , ...
). For the game of
Kayles Kayles is a simple impartial game in combinatorial game theory, invented by Henry Dudeney in 1908. Given a row of imagined bowling pins, players take turns to knock out either one pin, or two adjacent pins, until all the pins are gone. Using the ...
, evil nim-values occur for few (finitely many) positions in the game, with all remaining positions having odious nim-values.


The Prouhet–Tarry–Escott problem

The
Prouhet–Tarry–Escott problem In mathematics, the Prouhet–Tarry–Escott problem asks for two disjoint multisets ''A'' and ''B'' of ''n'' integers each, whose first ''k'' power sum symmetric polynomials are all equal. That is, the two multisets should satisfy the equations : ...
can be defined as: given a positive integer ''N'' and a non-negative integer ''k'',
partition Partition may refer to: Computing Hardware * Disk partitioning, the division of a hard disk drive * Memory partition, a subdivision of a computer's memory, usually for use by a single job Software * Partition (database), the division of a ...
the set ''S'' = into two disjoint subsets ''S''0 and ''S''1 that have equal sums of powers up to k, that is: : \sum_ x^i = \sum_ x^i for all integers ''i'' from 1 to ''k''. This has a solution if ''N'' is a multiple of 2''k''+1, given by: * ''S''0 consists of the integers ''n'' in ''S'' for which ''tn'' = 0, * ''S''1 consists of the integers ''n'' in ''S'' for which ''tn'' = 1. For example, for ''N'' = 8 and ''k'' = 2, : : The condition requiring that ''N'' be a multiple of 2''k''+1 is not strictly necessary: there are some further cases for which a solution exists. However, it guarantees a stronger property: if the condition is satisfied, then the set of ''k''th powers of any set of ''N'' numbers in
arithmetic progression An arithmetic progression or arithmetic sequence () is a sequence of numbers such that the difference between the consecutive terms is constant. For instance, the sequence 5, 7, 9, 11, 13, 15, . . . is an arithmetic progression with a common differ ...
can be partitioned into two sets with equal sums. This follows directly from the expansion given by the
binomial theorem In elementary algebra, the binomial theorem (or binomial expansion) describes the algebraic expansion of powers of a binomial. According to the theorem, it is possible to expand the polynomial into a sum involving terms of the form , where the ...
applied to the binomial representing the ''n''th element of an arithmetic progression. For generalizations of the Thue–Morse sequence and the Prouhet–Tarry–Escott problem to partitions into more than two parts, see Bolker, Offner, Richman and Zara, "The Prouhet–Tarry–Escott problem and generalized Thue–Morse sequences".


Fractals and turtle graphics

Using
turtle graphics In computer graphics, turtle graphics are vector graphics using a relative cursor (the "turtle") upon a Cartesian plane (x and y axis). Turtle graphics is a key feature of the Logo programming language. Overview The turtle has three attribut ...
, a curve can be generated if an automaton is programmed with a sequence. When Thue–Morse sequence members are used in order to select program states: * If ''t''(''n'') = 0, move ahead by one unit, * If ''t''(''n'') = 1, rotate by an angle of π/3
radians The radian, denoted by the symbol rad, is the unit of angle in the International System of Units (SI) and is the standard unit of angular measure used in many areas of mathematics. The unit was formerly an SI supplementary unit (before that ...
(60°) The resulting curve converges to the
Koch curve The Koch snowflake (also known as the Koch curve, Koch star, or Koch island) is a fractal curve and one of the earliest fractals to have been described. It is based on the Koch curve, which appeared in a 1904 paper titled "On a Continuous Curv ...
, a
fractal curve A fractal curve is, loosely, a mathematical curve whose shape retains the same general pattern of irregularity, regardless of how high it is magnified, that is, its graph takes the form of a fractal. In general, fractal curves are nowhere rectif ...
of infinite length containing a finite area. This illustrates the fractal nature of the Thue–Morse Sequence. It is also possible to draw the curve precisely using the following instructions: *If ''t''(''n'') = 0, rotate by an angle of π radians (180°), * If ''t''(''n'') = 1, move ahead by one unit, then rotate by an angle of π/3 radians.


Equitable sequencing

In their book on the problem of
fair division Fair division is the problem in game theory of dividing a set of resources among several people who have an entitlement to them so that each person receives their due share. That problem arises in various real-world settings such as division of inh ...
, Steven Brams and Alan Taylor invoked the Thue–Morse sequence but did not identify it as such. When allocating a contested pile of items between two parties who agree on the items' relative values, Brams and Taylor suggested a method they called ''balanced alternation'', or ''taking turns taking turns taking turns . . . '', as a way to circumvent the favoritism inherent when one party chooses before the other. An example showed how a divorcing couple might reach a fair settlement in the distribution of jointly-owned items. The parties would take turns to be the first chooser at different points in the selection process: Ann chooses one item, then Ben does, then Ben chooses one item, then Ann does. Lionel Levine and Katherine E. Stange, in their discussion of how to fairly apportion a shared meal such as an Ethiopian dinner, proposed the Thue–Morse sequence as a way to reduce the advantage of moving first. They suggested that “it would be interesting to quantify the intuition that the Thue–Morse order tends to produce a fair outcome.” Robert Richman addressed this problem, but he too did not identify the Thue–Morse sequence as such at the time of publication. He presented the sequences ''Tn'' as
step function In mathematics, a function on the real numbers is called a step function if it can be written as a finite linear combination of indicator functions of intervals. Informally speaking, a step function is a piecewise constant function having onl ...
s on the interval ,1and described their relationship to the
Walsh Walsh may refer to: People and fictional characters * Walsh (surname), including a list of people and fictional characters with the surname Places * Fort Walsh, one of the first posts of the Royal Canadian Mounted Police * Walsh, Ontario, Norfolk ...
and Rademacher functions. He showed that the ''n''th
derivative In mathematics, the derivative of a function of a real variable measures the sensitivity to change of the function value (output value) with respect to a change in its argument (input value). Derivatives are a fundamental tool of calculus. F ...
can be expressed in terms of ''Tn''. As a consequence, the step function arising from ''Tn'' is orthogonal to
polynomial In mathematics, a polynomial is an expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication, and positive-integer powers of variables. An exa ...
s of order ''n'' − 1. A consequence of this result is that a resource whose value is expressed as a monotonically decreasing
continuous function In mathematics, a continuous function is a function such that a continuous variation (that is a change without jump) of the argument induces a continuous variation of the value of the function. This means that there are no abrupt changes in value ...
is most fairly allocated using a sequence that converges to Thue–Morse as the function becomes
flatter A flatter is a coloring specialist within the comic book industry that prepares the inked or sketched comic book page for the colorist with digital art software such as Adobe Photoshop. The specialist does so by selecting the objects on the pa ...
. An example showed how to pour cups of
coffee Coffee is a drink prepared from roasted coffee beans. Darkly colored, bitter, and slightly acidic, coffee has a stimulant, stimulating effect on humans, primarily due to its caffeine content. It is the most popular hot drink in the world. S ...
of equal strength from a carafe with a
nonlinear In mathematics and science, a nonlinear system is a system in which the change of the output is not proportional to the change of the input. Nonlinear problems are of interest to engineers, biologists, physicists, mathematicians, and many othe ...
concentration In chemistry, concentration is the abundance of a constituent divided by the total volume of a mixture. Several types of mathematical description can be distinguished: '' mass concentration'', ''molar concentration'', ''number concentration'', an ...
gradient In vector calculus, the gradient of a scalar-valued differentiable function of several variables is the vector field (or vector-valued function) \nabla f whose value at a point p is the "direction and rate of fastest increase". If the gradi ...
, prompting a whimsical article in the popular press. Joshua Cooper and Aaron Dutle showed why the Thue–Morse order provides a fair outcome for discrete events. They considered the fairest way to stage a Galois duel, in which each of the shooters has equally poor shooting skills. Cooper and Dutle postulated that each dueler would demand a chance to fire as soon as the other's ''a priori'' probability of winning exceeded their own. They proved that, as the duelers’ hitting probability approaches zero, the firing sequence converges to the Thue–Morse sequence. In so doing, they demonstrated that the Thue–Morse order produces a fair outcome not only for sequences ''Tn'' of length ''2n'', but for sequences of any length. Thus the mathematics supports using the Thue–Morse sequence instead of alternating turns when the goal is fairness but earlier turns differ monotonically from later turns in some meaningful quality, whether that quality varies continuously or discretely. Sports competitions form an important class of equitable sequencing problems, because strict alternation often gives an unfair advantage to one team.
Ignacio Palacios-Huerta Ignacio is a male Spanish and Galician name originating either from the Roman family name Egnatius, meaning born from the fire, of Etruscan origin, or from the Latin name "Ignatius" from the word "Ignis" meaning "fire". This was the name of sev ...
proposed changing the sequential order to Thue–Morse to improve the '' ex post'' fairness of various tournament competitions, such as the kicking sequence of a
penalty shoot-out The penalty shootout is a method of determining a winner in sports matches that would have otherwise been drawn or tied. The rules for penalty shootouts vary between sports and even different competitions; however, the usual form is similar to pe ...
in soccer. He did a set of field experiments with pro players and found that the team kicking first won 60% of games using ABAB (or ''T''1), 54% using ABBA (or ''T''2), and 51% using full Thue–Morse (or ''T''n).  As a result, ABBA is undergoing extensive trials in FIFA (European and World Championships) and English Federation professional soccer ( EFL Cup). An ABBA serving pattern has also been found to improve the fairness of tennis tie-breaks. In
competitive rowing Rowing, sometimes called crew in the United States, is the sport of racing boats using oars. It differs from paddling sports in that rowing oars are attached to the boat using oarlocks, while paddles are not connected to the boat. Rowing is d ...
, ''T''2 is the only arrangement of port- and starboard-rowing crew members that eliminates transverse forces (and hence sideways wiggle) on a four-membered coxless racing boat, while ''T''3 is one of only four rigs to avoid wiggle on an eight-membered boat. Fairness is especially important in player drafts. Many professional sports leagues attempt to achieve competitive parity by giving earlier selections in each round to weaker teams. By contrast, fantasy football leagues have no pre-existing imbalance to correct, so they often use a “snake” draft (forward, backward, etc.; or ''T''1). Ian Allan argued that a “third-round reversal” (forward, backward, backward, forward, etc.; or ''T''2) would be even more fair. Richman suggested that the fairest way for “captain A” and “captain B” to choose sides for a pick-up game of basketball mirrors ''T''3: captain A has the first, fourth, sixth, and seventh choices, while captain B has the second, third, fifth, and eighth choices.


Hash collisions

The initial bits of the Thue–Morse sequence are mapped to 0 by a wide class of polynomial
hash function A hash function is any function that can be used to map data of arbitrary size to fixed-size values. The values returned by a hash function are called ''hash values'', ''hash codes'', ''digests'', or simply ''hashes''. The values are usually u ...
s modulo a
power of two A power of two is a number of the form where is an integer, that is, the result of exponentiation with number two as the base and integer  as the exponent. In a context where only integers are considered, is restricted to non-negative ...
, which can lead to hash collisions.


History

The Thue–Morse sequence was first studied by in 1851,The ubiquitous Prouhet-Thue-Morse sequence by Jean-Paul Allouche and Jeffrey Shallit
/ref> who applied it to
number theory Number theory (or arithmetic or higher arithmetic in older usage) is a branch of pure mathematics devoted primarily to the study of the integers and arithmetic function, integer-valued functions. German mathematician Carl Friedrich Gauss (1777 ...
. However, Prouhet did not mention the sequence explicitly; this was left to
Axel Thue Axel Thue (; 19 February 1863 – 7 March 1922) was a Norwegian mathematician, known for his original work in diophantine approximation and combinatorics. Work Thue published his first important paper in 1909. He stated in 1914 the so-calle ...
in 1906, who used it to found the study of
combinatorics on words Combinatorics on words is a fairly new field of mathematics, branching from combinatorics, which focuses on the study of words and formal languages. The subject looks at letters or symbols, and the sequences they form. Combinatorics on words af ...
. The sequence was only brought to worldwide attention with the work of
Marston Morse Harold Calvin Marston Morse (March 24, 1892 – June 22, 1977) was an American mathematician best known for his work on the ''calculus of variations in the large'', a subject where he introduced the technique of differential topology now known a ...
in 1921, when he applied it to
differential geometry Differential geometry is a mathematical discipline that studies the geometry of smooth shapes and smooth spaces, otherwise known as smooth manifolds. It uses the techniques of differential calculus, integral calculus, linear algebra and multili ...
. The sequence has been discovered independently many times, not always by professional research mathematicians; for example,
Max Euwe Machgielis "Max" Euwe (; May 20, 1901 – November 26, 1981) was a Dutch chess player, mathematician, author, and chess administrator. He was the fifth player to become World Chess Champion, a title he held from 1935 until 1937. He served as ...
, a
chess grandmaster Grandmaster (GM) is a title awarded to chess players by the world chess organization FIDE. Apart from World Champion, Grandmaster is the highest title a chess player can attain. Once achieved, the title is held for life, though exceptionally it h ...
and mathematics
teacher A teacher, also called a schoolteacher or formally an educator, is a person who helps students to acquire knowledge, competence, or virtue, via the practice of teaching. ''Informally'' the role of teacher may be taken on by anyone (e.g. whe ...
, discovered it in 1929 in an application to
chess Chess is a board game for two players, called White and Black, each controlling an army of chess pieces in their color, with the objective to checkmate the opponent's king. It is sometimes called international chess or Western chess to disti ...
: by using its cube-free property (see above), he showed how to circumvent the
threefold repetition In chess, the threefold repetition rule states that a player may claim a draw if the same position occurs three times during the game. The rule is also known as repetition of position and, in the USCF rules, as triple occurrence of position.Articl ...
rule aimed at preventing infinitely protracted games by declaring repetition of moves a draw. At the time, consecutive identical board states were required to trigger the rule; the rule was later amended to the same board position reoccurring three times at any point, as the sequence shows that the consecutive criterion can be evaded forever.


See also

* Dejean's theorem * Fabius function * Gray code * Komornik–Loreti constant *
Prouhet–Thue–Morse constant In mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in mode ...


Notes


References

* * * * * * * } * * * * * * * * * * * *


Further reading

* *


External links

* * * Allouche, J.-P.; Shallit, J. O
The Ubiquitous Prouhet-Thue-Morse Sequence
(contains many applications and some history) * Thue–Morse Sequence over (1,2) * *
Reducing the influence of DC offset drift in analog IPs using the Thue-Morse Sequence
A technical application of the Thue–Morse Sequence
MusiNum - The Music in the Numbers
Freeware to generate self-similar music based on the Thue–Morse Sequence and related number sequences. * {{DEFAULTSORT:Thue-Morse Sequence Binary sequences Fixed points (mathematics) Parity (mathematics)